package com.trade.wzj.model.xiang;

import java.io.Serializable;
import java.sql.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

public class SupplierQuota implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1490364300400882053L;
	/**
	 * 供应商报价表
	 */
	private Integer id;// 自增编号
	private String supplierquotaID;// 报价编号
	private Integer payID;// 预付款
	private Integer supplierID;// 供应商表id
	private Integer delState;// 状态
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date quotaDate;// 报价日期
	private String quotaDates;
	private String remark;// 备注
	private SupplierInfo supplierInfo;//供应商信息
	private List<ProductInfoQuota> productInfoQuota;//商品信息集合
	private Paystate state;
	/**
	 * 支付状态表对象
	 * @return
	 */
	public Paystate getState() {
		return state;
	}

	public void setState(Paystate state) {
		this.state = state;
	}


	private List<Paystate> paystate;//支付类型集合
	

	public SupplierInfo getSupplierInfo() {
		return supplierInfo;
	}

	public void setSupplierInfo(SupplierInfo supplierInfo) {
		this.supplierInfo = supplierInfo;
	}

	public List<ProductInfoQuota> getProductInfoQuota() {
		return productInfoQuota;
	}

	public void setProductInfoQuota(List<ProductInfoQuota> productInfoQuota) {
		this.productInfoQuota = productInfoQuota;
	}

	public List<Paystate> getPaystate() {
		return paystate;
	}

	public void setPaystate(List<Paystate> paystate) {
		this.paystate = paystate;
	}

	public Integer getPayID() {
		return payID;
	}

	public void setPayID(Integer payID) {
		this.payID = payID;
	}

	/**
	 * 报价日期
	 * 
	 * @return
	 */
	public Date getQuotaDate() {
		return quotaDate;
	}

	public void setQuotaDate(Date quotaDate) {
		this.quotaDate = quotaDate;
	}

	/**
	 * 备注
	 * 
	 * @return
	 */

	public String getRemark() {
		return remark;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public SupplierQuota() {
		super();
	}

	@Override
	public String toString() {
		return "SupplierQuota [id=" + id + ", supplierquotaID=" + supplierquotaID + ", payID=" + payID + ", supplierID="
				+ supplierID + ", delState=" + delState + ", quotaDate=" + quotaDate + ", remark=" + remark
				+ ", supplierInfo=" + supplierInfo + ", productInfoQuota=" + productInfoQuota + "]";
	}

	/**
	 * 报价编号
	 * 
	 * @return
	 */
	public String getSupplierquotaID() {
		return supplierquotaID;
	}

	public void setSupplierquotaID(String supplierquotaID) {
		this.supplierquotaID = supplierquotaID;
	}

	/**
	 * 付款条件
	 * 
	 * @return
	 */

	/**
	 * 供应商编号
	 * 
	 * @return
	 */
	public Integer getSupplierID() {
		return supplierID;
	}

	public void setSupplierID(Integer supplierID) {
		this.supplierID = supplierID;
	}

	/**
	 * 删除状态
	 * 
	 * @return
	 */
	public Integer getDelState() {
		return delState;
	}

	public void setDelState(Integer delState) {
		this.delState = delState;
	}

	public String getQuotaDates() {
		return quotaDates;
	}

	public void setQuotaDates(String quotaDates) {
		this.quotaDates = quotaDates;
	}


	public SupplierQuota(Integer id, String supplierquotaID, Integer payID, Integer supplierID, Integer delState,
			Date quotaDate, String quotaDates, String remark) {
		super();
		this.id = id;
		this.supplierquotaID = supplierquotaID;
		this.payID = payID;
		this.supplierID = supplierID;
		this.delState = delState;
		this.quotaDate = quotaDate;
		this.quotaDates = quotaDates;
		this.remark = remark;
	}

}
